package com.css.fxfzcpxx.modules.informationDelivery.repository;

import com.css.fxfzcpxx.modules.categoryView.param.QueParam;
import com.css.fxfzcpxx.modules.categoryView.vo.CategoryViewVo;
import com.css.fxfzcpxx.modules.informationDelivery.entity.InfDelivery;
import com.css.fxfzcpxx.modules.informationDelivery.param.ClaCasParams;
import com.css.fxfzcpxx.modules.informationDelivery.param.QueParams;
import com.css.fxfzcpxx.modules.informationDelivery.vo.InfDeliveryVo;

import java.util.List;
import java.util.Map;

public interface InfDeliveryRepository {
    Map<String, Object> getPage(QueParams queParams, int curPage, int pageSize);

    void save(InfDelivery infDelivery);

    void recallOrPublish(String releaseStatus, List<String> asList);

    void delete(List<String> asList);

    InfDelivery findById(String id);

    void publishedDataupdate(InfDelivery infDelivery);

    void unpublishedDataupdate(InfDelivery infDelivery);

    List<InfDelivery> getDataById(List<String> ids);

    List<InfDelivery> getMoveData(QueParams params);

    void meansTypeUpdate(String id, String meansTypeId);

    Map<String, Object> getClaCasPage(ClaCasParams claCasParams, int curPage, int pageSize);

    List<CategoryViewVo> getData(QueParam queParam);

    Integer getDownload(String unit);

    List<InfDeliveryVo> getLatestInformation();
}
